package com.student.system.service;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLException;

public interface TeacherService {
    void doRegister(HttpServletRequest req, HttpServletResponse resp);

    void doMessage(HttpServletRequest req, HttpServletResponse resp);

    void doLogin(HttpServletRequest req, HttpServletResponse resp);

    void checkLoginId(HttpServletRequest req, HttpServletResponse resp);

    void message(HttpServletRequest req, HttpServletResponse resp);

    void MyMessage(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException, SQLException;
    void saveMyMessage(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;

    void StudentScore(HttpServletRequest req, HttpServletResponse resp) throws SQLException, ServletException, IOException;
    void doEditStudentScore(HttpServletRequest req, HttpServletResponse resp) throws IOException, SQLException;
    void StudentScoreMessage(HttpServletRequest req, HttpServletResponse resp);

    void doAddStudentMessage(HttpServletRequest req, HttpServletResponse resp) throws IOException, SQLException;

    void deleteStudentMessage(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;
}
